<div class="SubMainTitle">
	<b class="FT14">常用收货地址 </b>
</div>
<div class="Mylist">
<table width="95%" border="0" align="center" cellpadding="5" cellspacing="0">
    <tr>
      <td width="14%" class="b">收货人</td>
      <td width="33%" class="b">所在地区</td>
      <td width="21%" class="b">街道地址</td>
      <td width="12%" class="b">邮编</td>
      <td width="13%" class="b">电话/手机</td>
      <td width="7%" class="b">刪除</td>
    </tr>
    <? if(is_array($rs)){foreach($rs as &$v){?>
    <tr>
      <td><?=$v["real_name"]?></td>
      <td><?=$v["country"]." ".$v["address_province"]." ".$v["address_city"]." ".$v["address_borough"]?></td>
      <td><?=$v["address"]?></td>
      <td><?=$v["zip"]?></td>
      <td><?=$v["tel"]?></td>
      <td><a href="<?=surl::get("my")."act.php?Pact=delUserAddr&id=".$v["id"]?>">刪除</a></td>
    </tr>
    <? }}?>
</table>
<br />
<hr />
<table width="95%" border="0" align="center" cellpadding="5" cellspacing="0">
     <tr>
      <td colspan="2" class="b"><a href="#" onclick="var addUserAddr=_.e('addUserAddr').style;if(addUserAddr.display=='none'){ addUserAddr.display =''}else{addUserAddr.display='none'}"><b>新增收货地址</b></a></td>
    </tr>
</table>
<div style="display:none" id="addUserAddr">
<form id="addUserAddr" name="addUserAddr" onsubmit="return XypForm(this)"  method="post" action="act.php">
<table width="95%" border="0" align="center" cellpadding="5" cellspacing="0">
    <tr>
      <td width="15%" align="right">收货人姓名：</td>
      <td width="85%"><input name="real_name" require="1" type="text"  size="20" id="real_name"/>
        *</td>
    </tr>
    <tr>
      <td align="right">国家：</td>
      <td><input name="country" type="text" require="1" id="country" value="中国" size="12" />
          <label>        *</label></td>
    </tr>
    <tr>
      <td align="right">所在地区：</td>
      <td><input name="address_province" require="1" type="text" id="address_province" value="台湾" size="8" />&nbsp;&nbsp; 
          <input name="address_city" require="1" type="text" id="address_city" size="8" />
          市&nbsp;&nbsp;
          <label>
        <input name="address_borough" require="1" type="text" id="address_borough" size="10" />
        镇/区        *</label></td>
    </tr>
     <tr>
      <td align="right">街道地址：</td>
      <td><input name="address" require="1" type="text" size="40" />
        * (不需要重复填写省/市/区) </td>
    </tr>
    <tr>
      <td align="right">邮政编码：</td>
      <td><input name="zip" require="1" type="text" size="8" id="address" />
        *</td>
    </tr>
    <tr>
      <td align="right">电话/手机：</td>
      <td><input name="tel" require="1" type="text" size="20" id="tel" />
        * 固定话请写上区号
       </td>
    </tr>
    
    
    <tr>
      <td colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <input type="submit" class="submitMini" value="添加新的收貨地址">
        <input type="hidden" name="Pact" value="addUserAddr" />
        &nbsp;&nbsp;   
        <input type="reset" class="submitMini"></td>
    </tr>
</table>
</form>
</div>
</div>
<script type="text/javascript">
$("input.submitMini")
	.mouseover(function(){this.className='submitMiniOver'})
	.mouseout(function(){this.className='submitMini'});
document.title = $("b.FT14","div.SubMainTitle").html().trim()+"_"+document.title

if(typeof XypForm == "undefined")
{
	include.js(__scfg__.staticUrl+"xypfrom/xypfrom.js");
	include.css(__scfg__.staticUrl+"xypfrom/xypfrom.css");
}
</script>